package com.kung.qvs.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Unique;

@Entity
public class DeviceBean {
    @Id(autoincrement = true)
    private Long _id;
    @Unique
    private String fdeviceType;  //设备类型  1 蓝牙秤，2 打印机，3摄像头
    private String faccount;    //登录者账号
    private String frole;   //角色
    private String fdevicesMac; //设备地址
    private String fdevicesName;    //设备名称
    private String fnote;   //备注
    @Generated(hash = 2037214105)
    public DeviceBean(Long _id, String fdeviceType, String faccount, String frole,
                      String fdevicesMac, String fdevicesName, String fnote) {
        this._id = _id;
        this.fdeviceType = fdeviceType;
        this.faccount = faccount;
        this.frole = frole;
        this.fdevicesMac = fdevicesMac;
        this.fdevicesName = fdevicesName;
        this.fnote = fnote;
    }
    @Generated(hash = 74682814)
    public DeviceBean() {
    }
    public Long get_id() {
        return this._id;
    }
    public void set_id(Long _id) {
        this._id = _id;
    }
    public String getFdeviceType() {
        return this.fdeviceType;
    }
    public void setFdeviceType(String fdeviceType) {
        this.fdeviceType = fdeviceType;
    }
    public String getFaccount() {
        return this.faccount;
    }
    public void setFaccount(String faccount) {
        this.faccount = faccount;
    }
    public String getFrole() {
        return this.frole;
    }
    public void setFrole(String frole) {
        this.frole = frole;
    }
    public String getFdevicesMac() {
        return this.fdevicesMac;
    }
    public void setFdevicesMac(String fdevicesMac) {
        this.fdevicesMac = fdevicesMac;
    }
    public String getFnote() {
        return this.fnote;
    }
    public void setFnote(String fnote) {
        this.fnote = fnote;
    }
    public String getFdevicesName() {
        return this.fdevicesName;
    }
    public void setFdevicesName(String fdevicesName) {
        this.fdevicesName = fdevicesName;
    }
}
